package team.seekers.skill.service;

import org.springframework.transaction.annotation.Transactional;
import team.seekers.skill.entity.dao.QuestionPicture;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 专为问题设计的地址存放表 服务类
 * </p>
 *
 * @author hbc
 * @since 2021-03-05
 */
public interface QuestionPictureService extends IService<QuestionPicture> {

    List<String> ListByQuestionId(String questionId);

    @Transactional(rollbackFor=Exception.class)
    boolean deleteByQuestionId(String questionId);
}
